#ifndef CAMERAINFOWIDGET_H
#define CAMERAINFOWIDGET_H
#include <QWidget>
#include <QLabel>

class CameraInfoWidget : public QWidget
{
    Q_OBJECT
public:
    explicit CameraInfoWidget(QWidget *parent = nullptr);

private:
    void            InitContent();

private:
    QString         m_strFace;
    int             m_nPosition;
    int             m_nDefectCount;

private:
    QLabel          *m_pFaceLabel;
    QLabel          *m_pPositionLabel;
    QLabel          *m_pCountLabel;

public:
    void            SetFace(QString strFace);
    void            SetPosition(int nPosition);
    void            SetDefectCount(int nDefectCount);

signals:
};

#endif // CAMERAINFOWIDGET_H
